<!DOCTYPE HTML>
<html lang="en-US">

<head>
    <meta charset="UTF-8">
    <title>ueditor demo</title>
    <style type="text/css">
        div{
            width:60%;
        }
    </style>
</head>

<body>
    <form action="server.php" method="post">
        <input type="text" name="title" />
        <!-- 加载编辑器的容器 -->
        <script id="container" name="content" type="text/plain">
        </script>
         <input type="submit" name="post" />
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="./ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="./ueditor/ueditor.all.js"></script>
    <script type="text/javascript" charset="utf-8" src="./ueditor/lang/zh-cn/zh-cn.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var editor = UE.getEditor('container');
    </script>

   
</body>

</html>